package core.modules.base.entity;

import java.util.List;

import core.util.BaseEntity;

/**
 * 菜单管理
 * @author bj
 */
public class SysMenu extends BaseEntity<SysMenu> {
	private static final long serialVersionUID = 1L;
	
	private String pid; //父id
	private String pids; //父id
	private Integer level; //级别
	private String name; //名称
	private String url; //链接
	private String permission; //权限
	private String icon;
	private Integer sort; //排序
	private String showflag; //是否展示
	private String leafflag; //是否叶子
	
	private List<SysMenu> children;
	public String getPid(){
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public String getPids(){
		return pids;
	}
	public void setPids(String pids) {
		this.pids = pids;
	}
	public Integer getLevel(){
		return level;
	}
	public void setLevel(Integer level) {
		this.level = level;
	}
	public String getName(){
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrl(){
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getPermission(){
		return permission;
	}
	public void setPermission(String permission) {
		this.permission = permission;
	}
	public Integer getSort(){
		return sort;
	}
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	public String getShowflag(){
		return showflag;
	}
	public void setShowflag(String showflag) {
		this.showflag = showflag;
	}
	public String getLeafflag(){
		return leafflag;
	}
	public void setLeafflag(String leafflag) {
		this.leafflag = leafflag;
	}
	public List<SysMenu> getChildren() {
		return children;
	}
	public void setChildren(List<SysMenu> children) {
		this.children = children;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
}
